<template>
  <div class="desktop">
    <card v-bind="options3"></card>
    <card v-bind="options4"></card>
    <card v-bind="options1">
      <div class="stats">
        <div class="stats-item"></div>
        <div class="stats-item"></div>
        <div class="stats-item"></div>
        <div class="stats-item"></div>
        <div class="stats-item"></div>
        <div class="stats-item"></div>
        <div class="stats-item"></div>
        <div class="stats-item"></div>
        <div class="stats-item"></div>
      </div>
    </card>
    <card v-bind="options2">
      <div class="charts"></div>
    </card>
  </div>
</template>


<script>
export default {
  data() {
    return {
      options1: {
        title: "年度PV统计",
      },
      options2: {
        title: "年度IP统计",
      },
      options3: {
        title: "form",
        type: "form",
        url:'',
        rules:[],
        items: [
            { label:'form1',type:'input',size:'',},
            { label:'form2',type:'input',size:'',},
            { label:'form3',type:'input',size:'',},
            { label:'form4',type:'input',size:'',},
        ],
      },
      options4: {
        title: "charts",
        type: "charts",
      },
      options5: {
        title: "table",
        type: "table",
      },
    };
  },
};
</script>


<style lang="scss" scoped>
.charts {
  background-color: #22d3a7;
  border-radius: 10px;
  height: 400px;
}
.stats {
  .stats-item {
    display: inline-block;
    min-width: 340px;
    height: 150px;
    background-color: #22d3a7;
    border-radius: 5px;
    margin-right: 20px;
    &:last-child {
      margin-right: 0;
    }
  }
}
</style>